import { createApp } from 'vue'
import SvgIcon from '@/components/SvgIcon/index.vue'
import App from './App.vue'
import { setupStore } from './store'
import router, { setupRouter } from './router'
import { setupElement } from './lib/element'


// createApp(App).component('svg-icon',SvgIcon).mount('#app')
const app = createApp(App)

app.component('svg-icon', SvgIcon)

setupRouter(app)

setupStore(app)

setupElement(app)

router.isReady().then(()=>{
    app.mount('#app')
})
